Conversion between DMS and decimal degrees:
\[DD = D + \frac{M}{60} + \frac{S}{3600}\]
Examples:
import pandas as pd, seaborn as sns, matplotlib.pyplot as plt
sns.set(style="whitegrid")
df = pd.read_csv("http://personal.tcu.edu/kylewalker/mexico.csv")
plt.figure(figsize = (10, 8))
p = sns.stripplot(data = df.sort_values('pri10', ascending = False),
x = 'pri10', y = 'name', palette = "RdPu_d",
orient = 'h', size = 8)
p.set(xlabel = "% of workforce in primary sector",
xlim = (0, 50), ylabel = "")
p.axes.xaxis.grid(False)
p.axes.yaxis.grid(True)
sns.despine(left = True, bottom = True)